

#define FTP_SERVER_IP                 "192.168.154.136"
#define FTP_SERVER_PORT               21
#define MAX_BUF_SIZE                  1024

#define FTP_USERNAME                  "hyw"
#define FTP_USERPASSWD                "111111"

#define FTP_COMMEND_USERNAME          "USER %s\r\n"
#define FTP_COMMEND_LIST							"LIST\r\n"
#define FTP_COMMEND_USERPASSWD        "PASS %s\r\n"
#define FTP_COMMEND_STOR              "STOR %s\r\n"
#define FTP_COMMEND_QUIT              "QUIT\r\n"
#define FTP_COMMEND_RESET             "REST 0\r\n"
#define FTP_COMMEND_TYPE              "TYPE I\r\n"
#define FTP_COMMEND_GET_FILE_SIZE     "SIZE %s\r\n"
#define FTP_COMMEND_PASV              "PASV\r\n"
#define FTP_PASV_PARSE_RESULTS        "227 Entering Passive Mode (%d,%d,%d,%d,%d,%d)."
#define FTP_COMMEND_PORT		          "PORT %d,%d,%d,%d,%d,%d\r\n"
#define FTP_COMMEND_RETR              "RETR %s\r\n"
#define FTP_START_RECV_DATA           "125 Data connection already open; Transfer starting."


